home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C ++ / Applications / FlyThrough 1.1.2 / src / Source / Q3Utilities.h < prev   
Encoding:
Text File  |  1997-03-09  |  1014 b   |  36 lines  |  [TEXT/CWIE]

  1. //
  2. //    Q3Utilities.h
  3. //
  4. //    A bunch of handy QD3D utilites, mostly math.
  5. //    These are written as if they were natural extensions of the QD3D API.
  6. //
  7. //    by James Jennings
  8. //    March 9, 1997
  9. //
  10.  
  11. #pragma once
  12.  
  13. class Q3 {
  14. public:
  15.     
  16.     static TQ3Boolean Vector3D_Parallel( const TQ3Vector3D *v1, const TQ3Vector3D *v2 );
  17.     
  18.     static TQ3Boolean Vector3D_Orthogonal( const TQ3Vector3D *v1, const TQ3Vector3D *v2 );
  19.     
  20.     static TQ3Vector3D * Vector3D_MakeOrthogonal( 
  21.         const TQ3Vector3D *v1, const TQ3Vector3D *v2, TQ3Vector3D *v3);
  22.     
  23.     static TQ3Vector3D * Vector3D_CompleteBasis( 
  24.         const TQ3Vector3D *v1, const TQ3Vector3D *v2, TQ3Vector3D *v3);
  25.     
  26.     static TQ3CameraPlacement * CameraPlacement_Transform( 
  27.         const TQ3CameraPlacement *inPlace, const TQ3Matrix4x4 *M, TQ3CameraPlacement *outPlace );
  28.  
  29.     static TQ3Boolean CameraPlacement_Validate( TQ3CameraPlacement *inPlace );
  30.     
  31.     static TQ3Matrix4x4 * Transform_SetRotatePlacementToPlacement( 
  32.         TQ3Matrix4x4 *M, const TQ3CameraPlacement *in1, const TQ3CameraPlacement *in2 );
  33.  
  34. };
  35.  
  36.